Skip to content

Fix lib upgrade command not installing new libraries dependencies #1935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Oct 21, 2022

Please check if the PR fulfills these requirements

See how to contribute

  • The PR has no duplicates (please search among the Pull Requests
    before creating one)
  • The PR follows
    our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • UPGRADING.md has been updated with a migration guide (for breaking changes)

What kind of change does this PR introduce?

Bug fix on an existing command.

What is the current behavior?

Current behaviour is explained in issue #1856

What is the new behavior?

Calling lib upgrade now will also install newly added dependencies to libraries being updated.
This fixes also the gRPC interface commands LibraryUpgradeAll and LibraryUpgrade.

Does this PR introduce a breaking change, and is titled accordingly?

Nope.

Other information

Fixes #1856.

This PR depends on #1934.

Copy link
Member

@cmaglie cmaglie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea to call LibraryInstall internally.

@cmaglie cmaglie merged commit 5efa9b5 into arduino:master Oct 21, 2022
@cmaglie cmaglie added type: imperfection Perceived defect in any part of project topic: package-management Related to the packaging and managing of the platform/libraries priority: high Resolution is a high priority criticality: medium Of moderate impact labels Oct 21, 2022
@silvanocerza silvanocerza deleted the fix-lib-upgrade branch October 24, 2022 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criticality: medium Of moderate impact priority: high Resolution is a high priority topic: package-management Related to the packaging and managing of the platform/libraries type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lib upgrade does not install dependencies
2 participants